package cn.edu.ujn.lishlab3.dao;

import java.util.List;

public class Orders {
    private Integer id;

    private String number;

    private Integer cust_id;

    private Integer product_id;
    
    private String cust_name;
    
    private List<Product> productList;
    
    public String getCust_name() {
		return cust_name;
	}

    //123
	public void setCust_name(String cust_name) {
		this.cust_name = cust_name;
	}

	private Integer start;
    
    private Integer rows;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getNumber() {
		return number;
	}

	public void setNumber(String number) {
		this.number = number;
	}

	public Integer getCust_id() {
		return cust_id;
	}

	public void setCust_id(Integer cust_id) {
		this.cust_id = cust_id;
	}

	public Integer getProduct_id() {
		return product_id;
	}

	public void setProduct_id(Integer product_id) {
		this.product_id = product_id;
	}

	public List<Product> getProductList() {
		return productList;
	}

	public void setProductList(List<Product> productList) {
		this.productList = productList;
	}

	public Integer getStart() {
		return start;
	}

	public void setStart(Integer start) {
		this.start = start;
	}

	public Integer getRows() {
		return rows;
	}

	public void setRows(Integer rows) {
		this.rows = rows;
	}

	@Override
	public String toString() {
		return "Orders [id=" + id + ", number=" + number + ", cust_id=" + cust_id + ", product_id=" + product_id
				+ ", cust_name=" + cust_name + ", productList=" + productList + ", start=" + start + ", rows=" + rows
				+ "]";
	}

   
}